package com.lhd.qd.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.time.Duration;
import java.util.List;

@Data
@Configuration
@ConfigurationProperties("qd")
public class QdProperties {

    private Boolean swaggerEnabled;

    private Boolean generatorEnabled;

    private Integer passwordSaltTimes;

    private String tokenSecretKey;

    private Duration tokenExpireTime;

    private List<String> authWhiteList;
}
